<template>
    <div class="order_edit">
        <el-row :gutter="20">
            <el-col :span="16">
                <el-input-number
                    v-model="sort"
                    :min="0"
                    label="排序"
                ></el-input-number>
            </el-col>
            <el-col :span="8">
                <el-input-number
                    v-model="integral"
                    :min="1"
                    label="积分"
                ></el-input-number>
            </el-col>
            <el-col :span="8">
                <el-input-number
                    v-model="virtualSales"
                    :min="1"
                    label="虚拟销量"
                ></el-input-number>
            </el-col>
        </el-row>
    </div>
</template>

<script>
export default {
    data() {
        return {
            sort: 0,
            integral: 0,
            virtualSales: 0,
        }
    },
    methods: {
        validate() {
            if (this.sort > 0 && this.integral > 0 && this.virtualSales > 0) {
                return true
            } else {
                return false
            }
        },
    },
}
</script>

<style>
</style>